package cn.tedu._04mybatis.mapper;

import cn.tedu._04mybatis.pojo.entity.Product;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ProductMapper {
    @Insert("insert into product(title,price,stock) values(#{title},#{price},#{stock})")
    void insertProduct(Product product);
}
